/**
 * 
 */
package nl.samenloop.bigscreen.communication.weather;

/**
 * @author Bram Wiekens
 *
 */
public class WeatherInfo {

	public static String getIconPath(String condition){
		condition = condition.toUpperCase();
		
		if (condition.equals("PARTLY SUNNY"))  return "img/weather/Sunny-interval-256.png";
		if (condition.equals("SCATTERED THUNDERSTORMS"))  return "img/weather/Thunder-256.png";
		if (condition.equals("SHOWERS"))  return "img/weather/Showers-256.png";
		if (condition.equals("SCATTERED SHOWERS"))  return "img/weather/Showers-256.png";
		if (condition.equals("RAIN AND SNOW"))  return "img/weather/Hail-256.png";
		if (condition.equals("OVERCAST"))  return "img/weather/Overcast-256.png";
		if (condition.equals("LIGHT SNOW"))  return "img/weather/Snow-256.png";
		if (condition.equals("FREEZING DRIZZLE"))  return "img/weather/Light-snow-256.png";
		if (condition.equals("CHANCE OF RAIN"))  return "img/weather/Rain-256.png";
		if (condition.equals("SUNNY"))  return "img/weather/Sunny-256.png";
		if (condition.equals("CLEAR"))  return "img/weather/Sunny-256.png";
		if (condition.equals("MOSTLY SUNNY"))  return "img/weather/Sunny-period-256.png";
		if (condition.equals("PARTLY CLOUDY"))  return "img/weather/Sunny-interval-256.png";
		if (condition.equals("MOSTLY CLOUDY"))  return "img/weather/Cloudy-256.png";
		if (condition.equals("CHANCE OF STORM"))  return "img/weather/Showers-256.png";
		if (condition.equals("RAIN"))  return "img/weather/Rain-256.png";
		if (condition.equals("CHANCE OF SNOW"))  return "img/weather/Snow-256.png";
		if (condition.equals("CLOUDY"))  return "img/weather/Cloudy-256.png";
		if (condition.equals("MIST"))  return "img/weather/Fog-256.png";
		if (condition.equals("STORM"))  return "img/weather/Showers-256.png";
		if (condition.equals("THUNDERSTORM"))  return "img/weather/Thunderstorms-256.png";
		if (condition.equals("CHANCE OF TSTORM"))  return "img/weather/Thunder-256.png";
		if (condition.equals("SLEET"))  return "img/weather/Hail-256.png";
		if (condition.equals("SNOW"))  return "img/weather/Snow-256.png";
		if (condition.equals("ICY"))  return "img/weather/Hail-256.png";
		if (condition.equals("DUST"))  return "img/weather/Fog-256.png";
		if (condition.equals("FOG"))  return "img/weather/Fog-256.png";
		if (condition.equals("SMOKE"))  return "img/weather/Fog-256.png";
		if (condition.equals("HAZE"))  return "img/weather/Fog-256.png";
		if (condition.equals("FLURRIES"))  return "img/weather/Rain-256.png";
		if (condition.equals("LIGHT RAIN"))  return "img/weather/Light-showers-256.png";
		if (condition.equals("SNOW SHOWERS"))  return "img/weather/Snow-256.png";
		if (condition.equals("ICE"))  return "img/weather/Hail-256.png";
		if (condition.equals("ICE/SNOW"))  return "img/weather/Hail-256.png";
		if (condition.equals("WINDY"))  return "img/weather/Windy-256.png";
		if (condition.equals("SCATTERED SNOW SHOWERS"))  return "img/weather/Light-snow-256.png";
		
		return "";
	}
	
	public static String getNLCondition(String condition){
		condition = condition.toUpperCase();
		
		if (condition.equals("PARTLY SUNNY"))  return "Deels zonnig";
		if (condition.equals("SCATTERED THUNDERSTORMS"))  return "Verspreid onweer";
		if (condition.equals("SHOWERS"))  return "Buien";
		if (condition.equals("SCATTERED SHOWERS"))  return "Hier en daar een bui";
		if (condition.equals("RAIN AND SNOW"))  return "Regen en sneeuw";
		if (condition.equals("OVERCAST"))  return "Bewolkt";
		if (condition.equals("LIGHT SNOW"))  return "Lichte sneeuw";
		if (condition.equals("FREEZING DRIZZLE"))  return "IJzel";
		if (condition.equals("CHANCE OF RAIN"))  return "Kans op regen";
		if (condition.equals("SUNNY"))  return "Zonnig";
		if (condition.equals("CLEAR"))  return "Helder";
		if (condition.equals("MOSTLY SUNNY"))  return "Overwegend zonnig";
		if (condition.equals("PARTLY CLOUDY"))  return "Deels bewolkt";
		if (condition.equals("MOSTLY CLOUDY"))  return "Overwegend bewolkt";
		if (condition.equals("CHANCE OF STORM"))  return "Kans op storm";
		if (condition.equals("RAIN"))  return "Regen";
		if (condition.equals("CHANCE OF SNOW"))  return "Kans op sneeuw";
		if (condition.equals("CLOUDY"))  return "Bewolkt";
		if (condition.equals("MIST"))  return "Mistig";
		if (condition.equals("STORM"))  return "Storm";
		if (condition.equals("THUNDERSTORM"))  return "Onweer";
		if (condition.equals("CHANCE OF TSTORM"))  return "Kans op onweer";
		if (condition.equals("SLEET"))  return "Natte sneeuw";
		if (condition.equals("SNOW"))  return "Sneeuw";
		if (condition.equals("ICY"))  return "Hagel";
		if (condition.equals("DUST"))  return "Stof";
		if (condition.equals("FOG"))  return "Dichte mist";
		if (condition.equals("SMOKE"))  return "Rook";
		if (condition.equals("HAZE"))  return "Nevel";
		if (condition.equals("FLURRIES"))  return "Regen";
		if (condition.equals("LIGHT RAIN"))  return "Lichte regen";
		if (condition.equals("SNOW SHOWERS"))  return "Sneeuwbuien";
		if (condition.equals("ICE"))  return "Hagel";
		if (condition.equals("ICE/SNOW"))  return "Sneeuw en hagel";
		if (condition.equals("WINDY"))  return "Sterke wind";
		if (condition.equals("SCATTERED SNOW SHOWERS"))  return "Verspreide sneeuw buien";
		
		return "";
	}
	
	
}
